package a.fuzhou;

/**
 * ClassName : a.fuzhou.Animal
 * Desc : TODO
 *
 * @author : LINPQ
 * @date : 2020/12/19 18:56
 */
public class Animal {
    public String pub;
    protected String pro;
    String def;
    private String pri;
//alt shift s



    @Override
    public String toString() {
        return "Animal{" +
                "pub='" + pub + '\'' +
                ", pro='" + pro + '\'' +
                ", def='" + def + '\'' +
                ", pri='" + pri + '\'' +
                '}';
    }

    public String getPub() {
        return pub;
    }

    public void setPub(String pub) {
        this.pub = pub;
    }

    public String getPro() {
        return pro;
    }

    public void setPro(String pro) {
        this.pro = pro;
    }

    public String getDef() {
        return def;
    }

    public void setDef(String def) {
        this.def = def;
    }

    public String getPri() {
        return pri;
    }

    public void setPri(String pri) {
        this.pri = pri;
    }

    public Animal() {
    }

    public Animal(String pub, String pro, String def, String pri) {
        this.pub = pub;
        this.pro = pro;
        this.def = def;
        this.pri = pri;
    }

    public final String zhuanQian(){
        return "种地赚钱";
    }


    public String testSuper(){

        int a = 10;
        System.out.println(a);

        return "super";
    }
}
